package com.dfd.store.service;

import java.util.List;

import com.dfd.store.domain.Order;
import com.dfd.store.domain.PageModel;
import com.dfd.store.domain.User;

public interface OrderService {

	void saveOrder(Order order) throws Exception;

	PageModel findOrderByUser(User user, int num) throws Exception;

	Order findOrderByOid(String oid) throws Exception;

	void updataOrder(Order order) throws Exception;

	List<Order> findAll() throws Exception;

	List<Order> findByState(int state) throws Exception;

}
